get

public abstract String get(String name)

Returns the value of the attribute with the given name.

The returned string is empty if the attribute with the given name is not specified on the element, or has no value.

Parameters

name

the attribute name

Throws

when name is empty or blank

when the element is closed